<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- 引入ckeditor组件 --> 

	<script src="${pageContext.request.contextPath }/ckeditor/ckeditor.js"></script>
	
	<link rel="stylesheet" href="${pageContext.request.contextPath }/ckeditor/samples/css/sample.css">
</head>
<body>
<div id="messageBox">

  <p><font color="red">${requestScope.error}</font></p>
  <form action="/Chapter01/msgPublish" method="post">
  <p>问题标题：<input type="text" name="title" size="50"/></p>
  <p>问题内容:</p>
  <p>
  <textArea  class="ckeditor" rows="20" cols="30" name="content"></textArea>
  </p>
  <p align="center"><input type="submit" value="提交"/>
    <input type="reset" value="重置"/>
  </p>
  </form>

</div>
</body>
</html>